package com.thingsgrid.firmware.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

@Data
@Document(collection = "firmware_upgrade_mode")
public class FirmwareUpgradeMode implements Serializable {
	private static final long serialVersionUID = 1L;
	@Field("method_id")
	private String methodId;
	@Field("firmware_id")
	private String firmwareId;

	@Field("new_firmwareversion")
	private String newFirmwareversion;
	@Field("upgrade_plan_time")
	private String upgradePlanTime;
	@Field("method_content")
	private String methodContent;
	@Field("retry_times")
	private Integer retryTimes;
	@Field("retry_interval")
	private String retryInterval;
	@Field("firmware_name")
	private String firmwareName;
	@Field("cut_size")
	private String cutSize;
	@Field("device_id")
	private String deviceId;
	@Field("create_author")
	private String createAuthor;
	@Field("create_department")
	private String createDepartment;
	@Field("create_time")
	private String createTime;
	@Field("upgrade_state")
	private Integer upgradeState;
	@Field("isdelete")
	private Integer isDelete;
}
